package ${package.Mapper};

import ${package.Entity}.${entity};
import ${superMapperClassPackage};
<#if mapperAnnotation>
import org.apache.ibatis.annotations.Mapper;
</#if>

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @author ${author}
 * @version 1.0.0
 * @projectName: ${project}
 * @packageName: ${package.Mapper}
 * @className: ${table.mapperName}
<#assign entityName = "">
<#if (table.comment?? && table.comment != '')>
    <#if table.comment?ends_with("表")>
        <#assign entityName = table.comment?substring(0,table.comment?length-1)>
    <#else>
        <#assign entityName = table.comment>
    </#if>
<#else>
    <#assign entityName = table.entityName>
</#if>
 * @description: ${entityName!}Mapper接口
 * @createDate ${date}
 * @copyright ${date} www.tom.com Inc. All rights reserved.
 */
<#if mapperAnnotation>
@Mapper
</#if>
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {

}
</#if>
